#include "arm_control.h"


int main() {
    ArmControl ac;
    const unsigned short SERVERPORT = 6000;
    const char* SERVER_IP = "127.0.0.1";

    int sock=ac.connect_to_robot(SERVER_IP,SERVERPORT);
    if(sock==-1)return -1;

    float l_angle[6]={0};
    l_angle[0]=1;
    while(1){
        ac.set_r_angle(l_angle);
        sleep(1);
    }
}
